home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 581 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: draco.prima.ruhr.de!ehb
  2. Newsgroups: comp.sys.amiga.programmer
  3. Subject: Re: avail flush no longer does
  4. Distribution: world
  5. References:  <oj6u426px3s.fsf@hpsrk.fc.hp.com>
  6. From: ehb@draco.prima.ruhr.de (Edwin H. Bielawski)
  7. Message-ID: <ehb.00h1@draco.prima.ruhr.de>
  8. Date: Tue, 9 Jan 96 09:27:54 +0100
  9. Organization: private UUCP site Dortmund Scharnhorst (Germany), member of Prima e.V.
  10.  
  11. In article <oj6u426px3s.fsf@hpsrk.fc.hp.com> koren@hpsrk.fc.hp.com (Steve Koren) writes:
  12. >
  13. >Since time immortal, avail flush has caused unused but resident
  14. >libraries to be flushed from RAM.  There are makefiles that depend on
  15. >this.  I could watch the libs go away with a monitor tool.
  16. >
  17. >It suddenly stopped working on my system.  I don't understand why.  I
  18. >wrote a little program that just tries to allocate 800 Mb, and this
  19. >correctly causes the libs to be flushed, so it wouldn't seem to be a
  20. >problem with the libraries themselves.  (This little program compiled
  21. >with nostartup in SAS is a whopping 68 *bytes* :-))
  22. >
  23. >The problem isn't specific to one particular library - they all behave
  24. >identically.  None go away with "avail flush" but they all do with
  25. >"AllocVec(lotsamem)".
  26. >
  27. >This behavior seems to survive reboots and power cycles.  It started
  28. >happening very suddenly, and I don't think I did anything unusual
  29. >beforehand.
  30. >
  31. >Anyone know what the scoop is?  I've verified that I'm running the real
  32. >avail command from C:.
  33. >
  34. >  - steve
  35.  
  36. avail flush do the same as your small program: AllocMem(lotsamem)!
  37. But how many memory? Not enough! I think it's 16 MByte.
  38.  
  39.   <ehb
  40.  
  41. -- 
  42.              greetings from draco.prima.ruhr.de
  43.  
  44.                     Edwin H. Bielawski
  45.